#include "render_control_software.h"

using namespace krryn::gui;
using namespace krryn::system;
using namespace krryn::view;

render_control<software_tag>::render_control(const with &a_Initializer) 
: widget(create_widget_base<impl>()){
	m_Pimpl->make(a_Initializer);
	m_Pimpl->post_make(*this, a_Initializer.get_parent());
}

void render_control<software_tag>::activate(){}

canvas *render_control<software_tag>::lock(){
	return m_Pimpl->lock();
}

void render_control<software_tag>::unlock(){
	return m_Pimpl->unlock();
}

void render_control<software_tag>::swap_buffers(){
	m_Pimpl->swap_buffers();
}